package com.edu.hibernate;

/**
 * UserRole entity. @author MyEclipse Persistence Tools
 */

public class UserRole implements java.io.Serializable {

	// Fields

	private UserRoleId id;
	private Boolean permit;

	// Constructors

	/** default constructor */
	public UserRole() {
	}

	/** minimal constructor */
	public UserRole(UserRoleId id) {
		this.id = id;
	}

	/** full constructor */
	public UserRole(UserRoleId id, Boolean permit) {
		this.id = id;
		this.permit = permit;
	}

	// Property accessors

	public UserRoleId getId() {
		return this.id;
	}

	public void setId(UserRoleId id) {
		this.id = id;
	}

	public Boolean getPermit() {
		return this.permit;
	}

	public void setPermit(Boolean permit) {
		this.permit = permit;
	}

}